package org.anjan.dp.visitor;

public final class Tobacco implements Visitable{

    private double price;

    public Tobacco(double price) {
        this.price = price;
    }

    public double getPrice() {
        return price;
    }

    @Override
    public double visit(Visitor visitor) {
        throw new UnsupportedOperationException();
    }
}
